package kayao.server;

public class Region {
	private float mX1;
	private float mY1;
	private float mX2;
	private float mY2;
	private int mKing = 0;

	public Region(float x1, float y1, float x2, float y2){
		this.mX1 = x1;
		this.mY1 = y1;
		this.mX2 = x2;
		this.mY2 = y2;
	}

	public String toString(){
		return "("+mX1+", "+mY1+")  ("+mX2+", "+mY2+")\tKing: "+mKing;
	}
	
	public int getKing(){
		return mKing;
	}
	public void removeKing(){
		mKing = 0;
	}
	public void setKing(int id){
		mKing = id;
	}
}